<?php include("source/menuleft.php")?>
<div class="menuleft">
<?php
$categoryProducts= ListProductCat();
$linkProduct     = getUrlCatByType('product');
foreach($categoryProducts as $catp)
{
    $catchild   = ListProductCat($catp['iId']);
?>
    <div class="listtab">
        <div class="tt"><?php echo $catp['cName']?></div>
        <div class="bg">
        <?php
        foreach($catchild as $cat)
        {
            $link   = $linkProduct.'/'.$catp['cUrlString'].'/'.$cat['cUrlString'];
        ?>
        <div class="ll">
            <a href="<?php echo $link?>"><?php echo $cat['cName']?></a>
        </div>
        <?
        }
        ?>
        </div>
        <div class="ft"></div>
    </div>
<?php
}
?>

 <div class="listtab">
    <div class="tt"><?php echo getLang('Support Online')?></div>
    <div class="bg" align="left">
        <div style="padding-left: 9px;padding-top:7px">
            <a href="ymsgr:sendIM?sacmauhue"><img src="/Img/yahoo/sacmauhue.gif" width="25" border="0"/> sacmauhue</a></div>
          <div style="padding-left: 9px;padding-top:7px">
          <a href="ymsgr:sendIM?ngoc_tri2000"><img src="/Img/yahoo/ngoc_tri2000.gif" width="25" border="0"/> ngoc_tri2000</a>
        </div>  
        <div style="color: #fff;font-size: 11px;padding-left:9px;line-height: 22px;">
             &bull; sacmauhue@gmail.com<br />
             &bull; 0935135981 Ms Ngoc<br />
             &bull; 0902244325 Mr Tri
        </div>
    </div>
    <div class="ft"></div>
</div>

<?php
$advs    = ListAdv(2);
if(count($advs)>0)
{
?>
<div class="listtab">
    <div class="tt"><?php echo getLang('Advertise')?></div>
    <div class="bg">
    <?php
    foreach($advs as $adv)
    {      
        $link  = GetIntroImg($adv['cImageLink']);
    ?>
    <div class="ll">
        <a href="<?php echo $adv['link']?>">
        <?php echo getAdvType($link)?>
        </a>
    </div>
    <?
    }
    ?>
    </div>
    <div class="ft"></div>
</div>   
<?
}
?>
</div>